qx.Class.define("ui.view.PageTema", {
			events : {
				"reloadTema" : "qx.event.type.Event",
				"postTema" : "qx.event.type.Data",
				"deleteTema" : "qx.event.type.Data"
			},
			extend : qx.ui.tabview.Page,
			construct : function() {
				this.base(arguments);
				this.setLabel("Temas");
				var layout = new qx.ui.layout.Grid();
				this.setLayout(layout);
				// Add a TabView
				var toolbar = new qx.ui.toolbar.ToolBar();

				this.add(toolbar, {
							column : 0,
							row : 0
						});
				layout.setColumnFlex(0, 1);
				var reloadButton = new qx.ui.toolbar.Button("Recargar");
				var addButton = new qx.ui.toolbar.Button("Agregar");
				var removeButton = new qx.ui.toolbar.Button("Eliminar");

				toolbar.add(reloadButton);
				toolbar.add(addButton);
				toolbar.add(removeButton);
				reloadButton.addListener("execute", function() {
							this.fireEvent("reloadTema");
						}, this);
				this.__list = new qx.ui.form.List();
				this.add(this.__list, {
							column : 0,
							row : 1
						});

			},
			members : {
				getList : function() {
					return this.__list;
				}
			}

		});